package com.travelsky.airchina.boarding.dao;

import java.util.List;

import com.travelsky.airchina.boarding.domain.CategoryAttribute;

public interface CategoryAttributeDAO extends GenericDAO<CategoryAttribute, Long>{

	public List<CategoryAttribute> findCategoryAttributeListByCategoryId(Long categoryId);

	public List<CategoryAttribute> findCategoryAttributeListByCategoryId(Long categoryId, String status);

	public void deleteCategoryAttributeCandidateValueByCategoryAttributeId(Long id);

	public void updateCategoryAttributeStatus(Long id, String status);

	public List<Object[]> findAttributeIdAndNames(List<Long> attributeIds);

	public List<CategoryAttribute> findCategoryAttributeListByCategoryIds(List<Long> categoryIds) ;

}
